package com.numberone.master.modules.api.entity;

import java.util.Date;

import com.numberone.master.common.persistence.DataEntity;


/**
 * 工单Entity
 * @author numberone
 * @version 2014-8-19
 */


public class ApiWorkOrder extends DataEntity<ApiWorkOrder>{

	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	/**
	 * 
	 */
	private String type;
	private String photo;
	private String name;
	private float balance;
	private String described;
	private Date date;
	private String result;
	private Date finishDate;
	private String transactor;
	
	private Date beginDate;	// 开始时间
	private Date endDate;	// 结束时间
	private String finished;
	private String state;  //状态（1：未被领取，2：个人已领取，3：部门待领取，4：已回复）
	private String belong; //归属
	private String files; //附件
	private String isClique; 
	private String code; 
	private String processingTime1; //内部处理总时限
	private String processingTime2; //内部处理总时限
	private Date processingTime; //内部处理个人时限
	
	
	
	/*
	 * 通过接口获取的字段
	 * */
	


	

	private String title;  //主题
	private String urgentDegree;  // 紧急程度   集团（选项：紧急、一般）	个人（选项：紧急、重要、次要、一般）
	private String dealTime1;  //  受理时限
	private String dealTime2;  //  处理时限
	private String customNo;  //  集团编号
	private String customName;  //  集团名称
	private String customLevel;  //  集团级别（选项：A1、A2、B1、B2、C、D）
	private String provinceName;  //  所属省份
	private String cityName;  //  所属地市
	private String countyName;  //  所属区县
	private String bdeptContact;  //  集客部联系人
	private String bdeptContactPhone;  //  集客部联系人联系电话
	private String cManagerContact;  //  客户经理
	private String cManagerContactPhone;  //  客户经理联系电话
	private String customContact;  //  集团客户联系人
	private String customContactPhone;  //  集团客户联系人联系电话
	private String productName;  //  产品名称
	private String affectedAreas;  //  故障影响范围（1，本地    2，全网       3，本地+全网）
	private String customAttribution;  //  用户归属地
	private String complaintTime;  //  投诉时间
	private String complaintNum;  //  故障号码
	private String faultTime;  //  故障时间
	private String complaintLoca;  //  故障地点
//	private String TermType;  //  终端描述（对于手机终端，填写手机终端型号；对于其他集团终端，直接填写终端厂家或者型号。）
	private String complaintDesc;  //  投诉内容
	private String preDealResult;  //  预处理情况
	private String enterpriseCode;  //  企业代码（当业务类型为短、彩信时必填）
	private String serverCode;  //  服务代码（当业务类型为短、彩信时必填）
	private String APNName;  //  APN名称（当业务类型为GPRS时必填）
	private String circuitCode;  //  传输专线电路代号（当业务类型为传输专线时必填）
	private String EcSiType;  //  EC/SI类型（1，MAS承载类 2，ADC承载类  3，其他）
	private String connectType;  //  接入类型（互联网, 专线）
	private String isLargeArea;  //  是否大面积投诉
	private String repeatComplaintTimes;  //  重复投诉次数
	private String complaintType;  //  投诉分类
	private String customerName;  //  客户姓名
	private String customPhone;  //  客户电话
	private String customBrand;  //  客户品牌（选项：全球通品牌、动感地带品牌、神州行品牌、移动公/商话、数据卡、漫游客户、他网、未知）
	private String startDealCity;  //  投诉受理省份
	private String faultSite;  //  故障地点
	private String terminalType;  //  终端描述
	private String ndeptContact;  //  联系人
	private String ndeptContactPhone;  //  联系人电话
	private String compProp;  //  投诉性质（有理由/无理由）
	private String isReplied;  //  是否已答复客户（是/否）
	private String isCorrect;  //  工单派单是否准确（是/否）
	private String issueEliminatTime;  //  问题消除时间
	private String issueEliminatReason;  //  问题原因
	private String dealDesc;  //  投诉处理情况（包含：本地投诉处理情况、和全网投诉处理情况）
	private String dealResult;  //  处理结果（解决、未解决）
	
	
	private String	sheetType;
	private String	serviceType;
	private String	serialNo;
	private String	serSupplier;
	private String	serCaller;
	private String	callerPwd;
	private String	callTime;
	private String	opPerson;
	private String	opCorp;
	private String	opDepart;
	private String	opContact;
	private String	opTime;
	private String	btype1;
	private String	webTypeCd;
	private String	upgdCmplntsFlag;
	private String	groupSrTypeId;
	private String	callerNo;
	private String	contactPhone;
	private String	calledNo;
	private String	lngt;
	private String	lat;
	private String	lanAccount;
	private String	respCityCode;
	private String	faultDistrtId;
	private String	brdnetAddr;
	private String	acceptId;
	private String	provCode;
	private String	tenantId;
	private String	extInfo;
	private String	termType;
	private String	cManagerPhone;
	private String	grpcustMngrNm;
	private String	groupConcPrsnTelnum;
	private String	closeSatisfyDegree;
	private String	closeDesc;
	private String	srType;
	private String	userSatisfy;
	private String	srSatisfy;
	private String	rslvExtentId;
	private String	respDeptId;
	private String	respRsnDesc;
	private String	isValidComp;
	private String	cancelAdvice;
	private String	urgeAdvice;
	private String	suggestion;
	private String	opTypeCd;
	private String	withdrawDesc;
	private String	outSystem;
	private String	serialNo1;
	private String	workItemId;


	
	
	public String getSheetType() {
		return sheetType;
	}

	public void setSheetType(String sheetType) {
		this.sheetType = sheetType;
	}

	public String getServiceType() {
		return serviceType;
	}

	public void setServiceType(String serviceType) {
		this.serviceType = serviceType;
	}

	public String getSerialNo() {
		return serialNo;
	}

	public void setSerialNo(String serialNo) {
		this.serialNo = serialNo;
	}

	public String getSerSupplier() {
		return serSupplier;
	}

	public void setSerSupplier(String serSupplier) {
		this.serSupplier = serSupplier;
	}

	public String getSerCaller() {
		return serCaller;
	}

	public void setSerCaller(String serCaller) {
		this.serCaller = serCaller;
	}

	public String getCallerPwd() {
		return callerPwd;
	}

	public void setCallerPwd(String callerPwd) {
		this.callerPwd = callerPwd;
	}

	public String getCallTime() {
		return callTime;
	}

	public void setCallTime(String callTime) {
		this.callTime = callTime;
	}

	public String getOpPerson() {
		return opPerson;
	}

	public void setOpPerson(String opPerson) {
		this.opPerson = opPerson;
	}

	public String getOpCorp() {
		return opCorp;
	}

	public void setOpCorp(String opCorp) {
		this.opCorp = opCorp;
	}

	public String getOpDepart() {
		return opDepart;
	}

	public void setOpDepart(String opDepart) {
		this.opDepart = opDepart;
	}

	public String getOpContact() {
		return opContact;
	}

	public void setOpContact(String opContact) {
		this.opContact = opContact;
	}

	public String getOpTime() {
		return opTime;
	}

	public void setOpTime(String opTime) {
		this.opTime = opTime;
	}

	public String getBtype1() {
		return btype1;
	}

	public void setBtype1(String btype1) {
		this.btype1 = btype1;
	}

	public String getWebTypeCd() {
		return webTypeCd;
	}

	public void setWebTypeCd(String webTypeCd) {
		this.webTypeCd = webTypeCd;
	}

	public String getUpgdCmplntsFlag() {
		return upgdCmplntsFlag;
	}

	public void setUpgdCmplntsFlag(String upgdCmplntsFlag) {
		this.upgdCmplntsFlag = upgdCmplntsFlag;
	}

	public String getGroupSrTypeId() {
		return groupSrTypeId;
	}

	public void setGroupSrTypeId(String groupSrTypeId) {
		this.groupSrTypeId = groupSrTypeId;
	}

	public String getCallerNo() {
		return callerNo;
	}

	public void setCallerNo(String callerNo) {
		this.callerNo = callerNo;
	}

	public String getContactPhone() {
		return contactPhone;
	}

	public void setContactPhone(String contactPhone) {
		this.contactPhone = contactPhone;
	}

	public String getCalledNo() {
		return calledNo;
	}

	public void setCalledNo(String calledNo) {
		this.calledNo = calledNo;
	}

	public String getLngt() {
		return lngt;
	}

	public void setLngt(String lngt) {
		this.lngt = lngt;
	}

	public String getLat() {
		return lat;
	}

	public void setLat(String lat) {
		this.lat = lat;
	}

	public String getLanAccount() {
		return lanAccount;
	}

	public void setLanAccount(String lanAccount) {
		this.lanAccount = lanAccount;
	}

	public String getRespCityCode() {
		return respCityCode;
	}

	public void setRespCityCode(String respCityCode) {
		this.respCityCode = respCityCode;
	}

	public String getFaultDistrtId() {
		return faultDistrtId;
	}

	public void setFaultDistrtId(String faultDistrtId) {
		this.faultDistrtId = faultDistrtId;
	}

	public String getBrdnetAddr() {
		return brdnetAddr;
	}

	public void setBrdnetAddr(String brdnetAddr) {
		this.brdnetAddr = brdnetAddr;
	}

	public String getAcceptId() {
		return acceptId;
	}

	public void setAcceptId(String acceptId) {
		this.acceptId = acceptId;
	}

	public String getProvCode() {
		return provCode;
	}

	public void setProvCode(String provCode) {
		this.provCode = provCode;
	}

	public String getTenantId() {
		return tenantId;
	}

	public void setTenantId(String tenantId) {
		this.tenantId = tenantId;
	}

	public String getExtInfo() {
		return extInfo;
	}

	public void setExtInfo(String extInfo) {
		this.extInfo = extInfo;
	}

	public String getcManagerPhone() {
		return cManagerPhone;
	}

	public void setcManagerPhone(String cManagerPhone) {
		this.cManagerPhone = cManagerPhone;
	}

	public String getGrpcustMngrNm() {
		return grpcustMngrNm;
	}

	public void setGrpcustMngrNm(String grpcustMngrNm) {
		this.grpcustMngrNm = grpcustMngrNm;
	}

	public String getGroupConcPrsnTelnum() {
		return groupConcPrsnTelnum;
	}

	public void setGroupConcPrsnTelnum(String groupConcPrsnTelnum) {
		this.groupConcPrsnTelnum = groupConcPrsnTelnum;
	}

	public String getCloseSatisfyDegree() {
		return closeSatisfyDegree;
	}

	public void setCloseSatisfyDegree(String closeSatisfyDegree) {
		this.closeSatisfyDegree = closeSatisfyDegree;
	}

	public String getCloseDesc() {
		return closeDesc;
	}

	public void setCloseDesc(String closeDesc) {
		this.closeDesc = closeDesc;
	}

	public String getSrType() {
		return srType;
	}

	public void setSrType(String srType) {
		this.srType = srType;
	}

	public String getUserSatisfy() {
		return userSatisfy;
	}

	public void setUserSatisfy(String userSatisfy) {
		this.userSatisfy = userSatisfy;
	}

	public String getSrSatisfy() {
		return srSatisfy;
	}

	public void setSrSatisfy(String srSatisfy) {
		this.srSatisfy = srSatisfy;
	}

	public String getRslvExtentId() {
		return rslvExtentId;
	}

	public void setRslvExtentId(String rslvExtentId) {
		this.rslvExtentId = rslvExtentId;
	}

	public String getRespDeptId() {
		return respDeptId;
	}

	public void setRespDeptId(String respDeptId) {
		this.respDeptId = respDeptId;
	}

	public String getRespRsnDesc() {
		return respRsnDesc;
	}

	public void setRespRsnDesc(String respRsnDesc) {
		this.respRsnDesc = respRsnDesc;
	}

	public String getIsValidComp() {
		return isValidComp;
	}

	public void setIsValidComp(String isValidComp) {
		this.isValidComp = isValidComp;
	}

	public String getCancelAdvice() {
		return cancelAdvice;
	}

	public void setCancelAdvice(String cancelAdvice) {
		this.cancelAdvice = cancelAdvice;
	}

	public String getUrgeAdvice() {
		return urgeAdvice;
	}

	public void setUrgeAdvice(String urgeAdvice) {
		this.urgeAdvice = urgeAdvice;
	}

	public String getSuggestion() {
		return suggestion;
	}

	public void setSuggestion(String suggestion) {
		this.suggestion = suggestion;
	}

	public String getOpTypeCd() {
		return opTypeCd;
	}

	public void setOpTypeCd(String opTypeCd) {
		this.opTypeCd = opTypeCd;
	}

	public String getWithdrawDesc() {
		return withdrawDesc;
	}

	public void setWithdrawDesc(String withdrawDesc) {
		this.withdrawDesc = withdrawDesc;
	}

	public String getOutSystem() {
		return outSystem;
	}

	public void setOutSystem(String outSystem) {
		this.outSystem = outSystem;
	}

	public String getSerialNo1() {
		return serialNo1;
	}

	public void setSerialNo1(String serialNo1) {
		this.serialNo1 = serialNo1;
	}

	public String getWorkItemId() {
		return workItemId;
	}

	public void setWorkItemId(String workItemId) {
		this.workItemId = workItemId;
	}

	public String getIsClique() {
		return isClique;
	}

	public void setIsClique(String isClique) {
		this.isClique = isClique;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}
	
	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getBelong() {
		return belong;
	}

	public void setBelong(String belong) {
		this.belong = belong;
	}
	
	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getUrgentDegree() {
		return urgentDegree;
	}

	public void setUrgentDegree(String urgentDegree) {
		this.urgentDegree = urgentDegree;
	}

	public String getDealTime1() {
		return dealTime1;
	}

	public void setDealTime1(String dealTime1) {
		this.dealTime1 = dealTime1;
	}

	public String getDealTime2() {
		return dealTime2;
	}

	public void setDealTime2(String dealTime2) {
		this.dealTime2 = dealTime2;
	}

	public String getCustomNo() {
		return customNo;
	}

	public void setCustomNo(String customNo) {
		this.customNo = customNo;
	}

	public String getCustomName() {
		return customName;
	}

	public void setCustomName(String customName) {
		this.customName = customName;
	}

	public String getCustomLevel() {
		return customLevel;
	}

	public void setCustomLevel(String customLevel) {
		this.customLevel = customLevel;
	}

	public String getProvinceName() {
		return provinceName;
	}

	public void setProvinceName(String provinceName) {
		this.provinceName = provinceName;
	}

	public String getCityName() {
		return cityName;
	}

	public void setCityName(String cityName) {
		this.cityName = cityName;
	}

	public String getCountyName() {
		return countyName;
	}

	public void setCountyName(String countyName) {
		this.countyName = countyName;
	}

	public String getBdeptContact() {
		return bdeptContact;
	}

	public void setBdeptContact(String bdeptContact) {
		this.bdeptContact = bdeptContact;
	}

	public String getBdeptContactPhone() {
		return bdeptContactPhone;
	}

	public void setBdeptContactPhone(String bdeptContactPhone) {
		this.bdeptContactPhone = bdeptContactPhone;
	}

	public String getcManagerContact() {
		return cManagerContact;
	}

	public void setcManagerContact(String cManagerContact) {
		this.cManagerContact = cManagerContact;
	}

	public String getcManagerContactPhone() {
		return cManagerContactPhone;
	}

	public void setcManagerContactPhone(String cManagerContactPhone) {
		this.cManagerContactPhone = cManagerContactPhone;
	}

	public String getCustomContact() {
		return customContact;
	}

	public void setCustomContact(String customContact) {
		this.customContact = customContact;
	}

	public String getCustomContactPhone() {
		return customContactPhone;
	}

	public void setCustomContactPhone(String customContactPhone) {
		this.customContactPhone = customContactPhone;
	}

	public String getProductName() {
		return productName;
	}

	public void setProductName(String productName) {
		this.productName = productName;
	}

	public String getAffectedAreas() {
		return affectedAreas;
	}

	public void setAffectedAreas(String affectedAreas) {
		this.affectedAreas = affectedAreas;
	}

	public String getCustomAttribution() {
		return customAttribution;
	}

	public void setCustomAttribution(String customAttribution) {
		this.customAttribution = customAttribution;
	}

	public String getComplaintTime() {
		return complaintTime;
	}

	public void setComplaintTime(String complaintTime) {
		this.complaintTime = complaintTime;
	}

	public String getComplaintNum() {
		return complaintNum;
	}

	public void setComplaintNum(String complaintNum) {
		this.complaintNum = complaintNum;
	}

	public String getFaultTime() {
		return faultTime;
	}

	public void setFaultTime(String faultTime) {
		this.faultTime = faultTime;
	}

	public String getComplaintLoca() {
		return complaintLoca;
	}

	public void setComplaintLoca(String complaintLoca) {
		this.complaintLoca = complaintLoca;
	}

	public String getTermType() {
		return termType;
	}

	public void setTermType(String termType) {
		this.termType = termType;
	}
	

	public String getProcessingTime1() {
		return processingTime1;
	}

	public void setProcessingTime1(String processingTime1) {
		this.processingTime1 = processingTime1;
	}


	public String getProcessingTime2() {
		return processingTime2;
	}

	public void setProcessingTime2(String processingTime2) {
		this.processingTime2 = processingTime2;
	}

	public Date getProcessingTime() {
		return processingTime;
	}

	public void setProcessingTime(Date processingTime) {
		this.processingTime = processingTime;
	}

	public String getComplaintDesc() {
		return complaintDesc;
	}

	public void setComplaintDesc(String complaintDesc) {
		this.complaintDesc = complaintDesc;
	}

	public String getPreDealResult() {
		return preDealResult;
	}

	public void setPreDealResult(String preDealResult) {
		this.preDealResult = preDealResult;
	}

	public String getEnterpriseCode() {
		return enterpriseCode;
	}

	public void setEnterpriseCode(String enterpriseCode) {
		this.enterpriseCode = enterpriseCode;
	}

	public String getServerCode() {
		return serverCode;
	}

	public void setServerCode(String serverCode) {
		this.serverCode = serverCode;
	}

	public String getAPNName() {
		return APNName;
	}

	public void setAPNName(String aPNName) {
		APNName = aPNName;
	}

	public String getCircuitCode() {
		return circuitCode;
	}

	public void setCircuitCode(String circuitCode) {
		this.circuitCode = circuitCode;
	}

	public String getEcSiType() {
		return EcSiType;
	}

	public void setEcSiType(String ecSiType) {
		EcSiType = ecSiType;
	}

	public String getConnectType() {
		return connectType;
	}

	public void setConnectType(String connectType) {
		this.connectType = connectType;
	}

	public String getIsLargeArea() {
		return isLargeArea;
	}

	public void setIsLargeArea(String isLargeArea) {
		this.isLargeArea = isLargeArea;
	}

	public String getRepeatComplaintTimes() {
		return repeatComplaintTimes;
	}

	public void setRepeatComplaintTimes(String repeatComplaintTimes) {
		this.repeatComplaintTimes = repeatComplaintTimes;
	}

	public String getComplaintType() {
		return complaintType;
	}

	public void setComplaintType(String complaintType) {
		this.complaintType = complaintType;
	}

	public String getCustomerName() {
		return customerName;
	}

	public void setCustomerName(String customerName) {
		this.customerName = customerName;
	}

	public String getCustomPhone() {
		return customPhone;
	}

	public void setCustomPhone(String customPhone) {
		this.customPhone = customPhone;
	}

	public String getCustomBrand() {
		return customBrand;
	}

	public void setCustomBrand(String customBrand) {
		this.customBrand = customBrand;
	}

	public String getStartDealCity() {
		return startDealCity;
	}

	public void setStartDealCity(String startDealCity) {
		this.startDealCity = startDealCity;
	}

	public String getFaultSite() {
		return faultSite;
	}

	public void setFaultSite(String faultSite) {
		this.faultSite = faultSite;
	}

	public String getTerminalType() {
		return terminalType;
	}

	public void setTerminalType(String terminalType) {
		this.terminalType = terminalType;
	}

	public String getNdeptContact() {
		return ndeptContact;
	}

	public void setNdeptContact(String ndeptContact) {
		this.ndeptContact = ndeptContact;
	}

	public String getNdeptContactPhone() {
		return ndeptContactPhone;
	}

	public void setNdeptContactPhone(String ndeptContactPhone) {
		this.ndeptContactPhone = ndeptContactPhone;
	}

	public String getCompProp() {
		return compProp;
	}

	public void setCompProp(String compProp) {
		this.compProp = compProp;
	}

	public String getIsReplied() {
		return isReplied;
	}

	public void setIsReplied(String isReplied) {
		this.isReplied = isReplied;
	}

	public String getIsCorrect() {
		return isCorrect;
	}

	public void setIsCorrect(String isCorrect) {
		this.isCorrect = isCorrect;
	}

	public String getIssueEliminatTime() {
		return issueEliminatTime;
	}

	public void setIssueEliminatTime(String issueEliminatTime) {
		this.issueEliminatTime = issueEliminatTime;
	}

	public String getIssueEliminatReason() {
		return issueEliminatReason;
	}

	public void setIssueEliminatReason(String issueEliminatReason) {
		this.issueEliminatReason = issueEliminatReason;
	}

	public String getDealDesc() {
		return dealDesc;
	}

	public void setDealDesc(String dealDesc) {
		this.dealDesc = dealDesc;
	}

	public String getDealResult() {
		return dealResult;
	}

	public void setDealResult(String dealResult) {
		this.dealResult = dealResult;
	}

	public ApiWorkOrder() {
		super();
	}
	
	public ApiWorkOrder(String id) {
		super(id);
	}
	
	
	public Date getBeginDate() {
		return beginDate;
	}
	public void setBeginDate(Date beginDate) {
		this.beginDate = beginDate;
	}
	public Date getEndDate() {
		return endDate;
	}
	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getPhoto() {
		return photo;
	}
	public void setPhoto(String photo) {
		this.photo = photo;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public float getBalance() {
		return balance;
	}
	public void setBalance(float balance) {
		this.balance = balance;
	}
	public String getDescribed() {
		return described;
	}
	public void setDescribed(String described) {
		this.described = described;
	}
	public Date getDate() {
		return date;
	}
	public void setDate(Date date) {
		this.date = date;
	}
	public String getResult() {
		return result;
	}
	public void setResult(String result) {
		this.result = result;
	}
	public String getFinished() {
		return finished;
	}
	public void setFinished(String finished) {
		this.finished = finished;
	}
	public String getTransactor() {
		return transactor;
	}
	public void setTransactor(String transactor) {
		this.transactor = transactor;
	}
	@Override
	public String toString() {
		return "WorkOrder [type=" + type + ", photo=" + photo + ", name="
				+ name + ", balance=" + balance + ", described=" + described
				+ ", date=" + date + ", result=" + result + ", finished="
				+ finished + ", transactor=" + transactor + ", beginDate="
				+ beginDate + ", endDate=" + endDate + "]";
	}
	public Date getFinishDate() {
		return finishDate;
	}
	public void setFinishDate(Date finishDate) {
		this.finishDate = finishDate;
	}

	public String getFiles() {
		return files;
	}

	public void setFiles(String files) {
		this.files = files;
	}
	
	
}
